package events
{
	import flash.events.Event;

	public class DirectoryEvent extends Event
	{
		public static var DIRECTORY_CHANGED:String = 'dir changed';
		public static var REFRESH:String = 'refresh';
		
		private var _operation:String;
		private var _currentDir:String;
		
		public function DirectoryEvent(operation:String, currentDir:String=null)
		{
			super(operation, true, true);
			this._currentDir = currentDir;
			trace("DirectoryEvent - "+currentDir);
			
		}
		
		public function get operation():String{
			return this.type;
		}
		
		public function get currentDir():String{
			return this._currentDir;
		}
		
		
	}
}